package com.jxauaia.contest.service;

import com.jxauaia.contest.model.vo.CaptchaVO;

public interface CaptchaService {
    /**
     * 生成验证码
     * @return 验证码对象
     */
    CaptchaVO generateCaptcha();
    
    /**
     * 验证验证码
     * @param captchaId 验证码ID
     * @param captchaCode 验证码内容
     * @return 验证结果
     */
    boolean validate(String captchaId, String captchaCode);
}
